<% ActiveRecord::Schema.columns( @object_name.pluralize ).each do |column| %>
 <% unless ['id','created_at','updated_at'].include? column.name %>
	<b><%= column.name.capitalize.split("_").join(" ") %></b> : <br/>
	<%= object.send(column.name.to_sym).split("\n").join("<br/>") %>
	<br/>
 <% end %>
<% end %>
<%= link_to_remote( 'Edit', 
			:url => { :action => 'edit', :object_id => object.id, :id => nil }) %> |
<%= link_to_remote 'Destroy', 
			:confirm => "Dou you really want to delete this?", 
			:url => { :action => 'destroy', :object_id => object.id, :id => nil } %>
<hr/>
